package it.unitn.testbed.server.config;

import it.unitn.testbed.client.common.MoteConfig;

/**
 * Denotes an object that is interested in receiving notifications whenever a
 * change occurs in the testbed configuration.
 * 
 * @author Stefan Guna
 * @see ConfigUpload
 * @see MoteConfig
 */
public interface ConfigUser {

	/**
	 * Signals a change in the testbed configuration.
	 * 
	 * @param config
	 *            The new configuration of the testbed.
	 */
	public abstract void setConfig(TestbedConfig config);

	/**
	 * Gets the testbed configuration.
	 */
	public abstract TestbedConfig getConfig();
}